package cn.silver.module.system.domain;

import cn.silver.framework.mybatis.annotation.Table;
import cn.silver.framework.mybatis.annotation.TableField;
import cn.silver.framework.mybatis.enums.SearchTypeEnums;
import cn.silver.framework.tenant.domain.TreeTenantEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 部门表 sys_dept
 *
 * @author Silver Zhou
 */

@Data
@NoArgsConstructor
@Table(name = "sys_dept")
@EqualsAndHashCode(callSuper = true)
@Schema(name = "SysDept", title = "组织信息对象")
public class SysDept extends TreeTenantEntity {
    /**
     * 菜单类型
     */
    @Schema(title = "组织类型")
    @TableField(name = "type", searchType = SearchTypeEnums.EQ)
    private String type;
    /**
     * 部门名称
     */
//    @Schema(title = "组织编码")
//    @TableField(name = "code", searchType = SearchTypeEnums.LIKE)
//    private String code;

    /**
     * 部门名称
     */
//    @Schema(title = "组织名称")
//    @TableField(name = "name", searchType = SearchTypeEnums.LIKE)
//    private String name;

    /**
     * 部门名称
     */
//    @Schema(title = "组织全称")
//    private String full;


    /**
     * 部门状态:0正常,1停用
     */
//    @Schema(title = "组织状态")
//    @TableField(name = "status", searchType = SearchTypeEnums.EQ)
//    private String status;
}
